﻿using Abp.Application.Services.Dto;
using Mt.Site.Application.Dto;
using Mt.Site.Application.StaticPages.Dto;
using System.Threading.Tasks;

namespace Mt.Site.Application.StaticPages
{
    public interface IStaticPageAppService:IBackEndAppService
    {
        PagedResultDto<StaicPageItem> GetPageFiles(GetStaticPathPagesInput input);

        void DeleteStaticPages(DeleteStaicPagesInput input);

        Task CreateOrUpdateStaticPageConfig(ConfigFileDto input);

        Task<string> GetStaticPageConfig();

        Task GenerateWholeSitePages();

        void GeneratePageByPath(string path);

        Task VisitPage(string path);

        Task<GeneratePagesOut> GetGeneratePagesResult();

        Task ResetMobileStatiPageDataAsync();
    }
}
